#ifndef BRIQUE_HPP_INCLUDED
#define BRIQUE_HPP_INCLUDED

#define HAUTSPRITEBRIQUE 24
#define LARGSPRITEBRIQUE 40
#define MAXVIEBRIQUE 2

class Brique{
    public:
    Brique(int vie,int x,int y,sf::Image &image);
    ~Brique();

    sf::Sprite &getSprite();
    sf::FloatRect getPositionObj();
	bool isAlive();
	void downLive();

	int getLive();

    private:

    sf::Sprite sprite;
    sf::IntRect tabPosition[MAXVIEBRIQUE+1];

    int vie;

};

#endif // BRIQUE_HPP_INCLUDED
